<!DOCTYPE html>
<html>
<head>
    <title>代理管理</title>
    {{template "inc/mate.html" .}}
    {{template "inc/easyui_css.html" .}}
    {{template "inc/ie_supper.html" .}}
</head>
<body class="easyui-layout">
	<div data-options="region:'north'" style="height:50px;padding: 10px;">
		{{if authas "/man/toAddAgent" .PhyAuths}}
			<a href="{{.baseUrl}}/man/toAddAgent" class="easyui-linkbutton" style="border-color: #4cae4c; background-image: linear-gradient(rgb(76,174,76) 0px, rgb(68,157,68) 100%);">添加代理</a>
		{{end}}
	</div>
	<div data-options="region:'center'">
		<table class="easyui-datagrid" style="width:100%;height:100%" data-options="url:'{{.baseUrl}}/man/findListAgent',singleSelect:true,collapsible:true,method:'post',pagination:true,pageList:[15,20,25,30],pageSize:15">
	     	<thead>
	            <tr>
	                <th data-options="field:'loginName',align:'left'">登录名</th>
	                <th data-options="field:'agentTimeShow',align:'left'">代理时间</th>
	                <th data-options="field:'addUseName',align:'left'">创建人</th>
	                <th data-options="field:'agentPrice',align:'center'">代理价格</th>
	                <th data-options="field:'regionName',align:'left'">代理区域</th>
	                <th data-options="field:'statusName',align:'left'">状态</th>
	            </tr>
	        </thead>

	    </table>
	</div>
</body>
</html>
{{template "inc/easyui_js.html" .}}
<script type="text/javascript" charset="UTF-8">
$(document).ready(function(){
});
</script>